# Contributor: rahmanshaber <rahmanshaber@yahoo.com>
# Maintainer: rahmanshaber <rahmanshaber@yahoo.com>
pkgname=coregarage
pkgver=4.5.0
pkgrel=0
pkgdesc="A settings manager for C-Suite"
arch="all"
url="https://gitlab.com/cubocore/coreapps/coregarage"
license="GPL-3.0-or-later"
depends="qt5-qtsvg"
makedepends="qt5-qtbase-dev libcprime-dev libcsys-dev libarchive-qt-dev cmake ninja"
source="https://gitlab.com/cubocore/coreapps/coregarage/-/archive/v$pkgver/coregarage-v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"
options="!check" # No tests

build() {
	cmake . \
		-GNinja \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	ninja
}

package() {
	DESTDIR="$pkgdir" ninja install
}

sha512sums="
66c49b6cae244fc77ffbd8cd319fc02750f7c54163e23848c57249af4052931377e99dcd946028d58efa1689df0e4718ce53257c08ab9310f82ef78b2fd5c3d0  coregarage-v4.5.0.tar.gz
"
